vendor/golang.org/x/crypto/sha3.state.rate (field)
25 uses
vendor/golang.org/x/crypto/sha3 (current package)
hashes.go#L44: return &state{rate: 144, outputLen: 28, dsbyte: 0x06}
hashes.go#L48: return &state{rate: 136, outputLen: 32, dsbyte: 0x06}
hashes.go#L52: return &state{rate: 104, outputLen: 48, dsbyte: 0x06}
hashes.go#L56: return &state{rate: 72, outputLen: 64, dsbyte: 0x06}
hashes.go#L63: func NewLegacyKeccak256() hash.Hash { return &state{rate: 136, outputLen: 32, dsbyte: 0x01} }
hashes.go#L69: func NewLegacyKeccak512() hash.Hash { return &state{rate: 72, outputLen: 64, dsbyte: 0x01} }
sha3.go#L26: rate int // the number of bytes of state to use
sha3.go#L51: func (d *state) BlockSize() int { return d.rate }
sha3.go#L79: xorIn(d, d.storage[:d.rate])
sha3.go#L87: copyOut(d, d.storage[:d.rate])
sha3.go#L100: for d.n < d.rate {
sha3.go#L107: d.storage[d.rate-1] ^= 0x80
sha3.go#L111: d.n = d.rate
sha3.go#L112: copyOut(d, d.storage[:d.rate])
sha3.go#L124: if d.n == 0 && len(p) >= d.rate {
sha3.go#L126: xorIn(d, p[:d.rate])
sha3.go#L127: p = p[d.rate:]
sha3.go#L131: todo := d.rate - d.n
sha3.go#L139: if d.n == d.rate {
sha3.go#L164: if d.i == d.rate {
shake.go#L84: c := cshakeState{state: &state{rate: rate, outputLen: outputLen, dsbyte: dsbyte}}
shake.go#L92: c.Write(bytepad(c.initBlock, c.rate))
shake.go#L99: c.Write(bytepad(c.initBlock, c.rate))
shake.go#L129: return &state{rate: rate128, outputLen: 32, dsbyte: dsbyteShake}
shake.go#L133: return &state{rate: rate256, outputLen: 64, dsbyte: dsbyteShake}
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |